package com.zzl.car.mapper;

import com.zzl.car.entity.Notice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ZzwNoticeMapper {

    // 获取公告信息
    public List<Notice> getNotice(@Param("title")String title,@Param("state")Integer state);
    // 删除公告
    public int deleteNotice(@Param("id")Integer id);
    // 添加公告
    public int addNotice(@Param("notice")Notice notice);
    // 修改公告
    public int modifyNotice(@Param("notice")Notice notice);
}
